package com.putable.cgw.game;

/**
 * Defines something that can be destroyed.
 */
public interface DestroyAble {
	/**
	 * Gets the amount health
	 * @return The amount of health
	 */
	public double getHealth();
	/**
	 * Sets the amount of health
	 * @param health The amount of health we are setting to
	 */
	public void setHealth(double health);
	/**
	 * Decrements a certain amount of health
	 * @param dec The amount of health to decrement
	 */
	public void subtractHealth(double sub);
	/**
	 * Adds a certain amount of health
	 * @param add The amount of health being added
	 */
	public void addHealth(double add);
	/**
	 * @return Whether or not this is destroyed
	 */
	public boolean isDestroyed();
}
